package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.NgsSjfx;
import com.zhijian.medical.entity.vo.request.NgsSjfxSearchVo;
import com.zhijian.medical.entity.vo.response.NgsSjfxVo;

import java.util.List;

public interface NgsSjfxMapper {
    int deleteByPrimaryKey(Long id);

    /**
     * 根据实验id删除
     *
     * @param ngsId
     * @return
     */
    int deleteByNgsId(Long ngsId);

    int insert(NgsSjfx record);

    int insertSelective(NgsSjfx record);

    NgsSjfx selectByPrimaryKey(Long id);

    /**
     * 实验id查询po
     *
     * @param ngsId
     * @return
     */
    NgsSjfx selectByNgsId(Long ngsId);

    int updateByPrimaryKeySelective(NgsSjfx record);

    int updateByPrimaryKey(NgsSjfx record);

    int count(NgsSjfxSearchVo ngsSjfxSearchVo);

    List<NgsSjfxVo> selectList(NgsSjfxSearchVo ngsSjfxSearchVo);

    NgsSjfxVo selectVoById(Long id);

    /**
     * 实验id查询vo
     *
     * @param ngsId
     * @return
     */
    NgsSjfxVo selectVoByNgsId(Long ngsId);
}